.class public Lframent/FramentMarketOrder;
.super Landroid/support/v4/app/Fragment;
.source "FramentMarketOrder.java"


# instance fields
.field private context:Landroid/content/Context;

.field private grid_goods:Landroid/widget/GridView;

.field private list_one_class:Landroid/widget/ListView;

.field private ll_two_class:Landroid/widget/LinearLayout;

.field private m:Lmyapp/MyApp;

.field private notice:Landroid/widget/TextView;

.field private ps_cost:Landroid/widget/TextView;

.field private shopid:Ljava/lang/String;

.field private tv_gopay:Landroid/widget/TextView;

.field private tv_total:Landroid/widget/TextView;

.field private view:Landroid/view/View;


# direct methods
.method public constructor <init>()V
    .locals 1

    .prologue
    .line 24
    invoke-direct {p0}, Landroid/support/v4/app/Fragment;-><init>()V

    .line 39
    const-string v0, ""

    iput-object v0, p0, Lframent/FramentMarketOrder;->shopid:Ljava/lang/String;

    .line 24
    return-void
.end method

.method static synthetic access$0(Lframent/FramentMarketOrder;)Lmyapp/MyApp;
    .locals 1

    .prologue
    .line 26
    iget-object v0, p0, Lframent/FramentMarketOrder;->m:Lmyapp/MyApp;

    return-object v0
.end method

.method static synthetic access$1(Lframent/FramentMarketOrder;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 39
    iget-object v0, p0, Lframent/FramentMarketOrder;->shopid:Ljava/lang/String;

    return-object v0
.end method

.method private getHttpResource()V
    .locals 2

    .prologue
    .line 68
    new-instance v0, Ljava/lang/Thread;

    new-instance v1, Lframent/FramentMarketOrder$1;

    invoke-direct {v1, p0}, Lframent/FramentMarketOrder$1;-><init>(Lframent/FramentMarketOrder;)V

    invoke-direct {v0, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V

    .line 102
    invoke-virtual {v0}, Ljava/lang/Thread;->start()V

    .line 107
    return-void
.end method

.method private initData()V
    .locals 2

    .prologue
    .line 111
    invoke-virtual {p0}, Lframent/FramentMarketOrder;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    iput-object v0, p0, Lframent/FramentMarketOrder;->context:Landroid/content/Context;

    .line 112
    iget-object v0, p0, Lframent/FramentMarketOrder;->context:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    check-cast v0, Lmyapp/MyApp;

    iput-object v0, p0, Lframent/FramentMarketOrder;->m:Lmyapp/MyApp;

    .line 113
    invoke-virtual {p0}, Lframent/FramentMarketOrder;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    invoke-virtual {v0}, Landroid/support/v4/app/FragmentActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v1, "shopid"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lframent/FramentMarketOrder;->shopid:Ljava/lang/String;

    .line 117
    return-void
.end method

.method private initView()V
    .locals 2

    .prologue
    .line 42
    iget-object v0, p0, Lframent/FramentMarketOrder;->view:Landroid/view/View;

    const v1, 0x7f0c019e

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lframent/FramentMarketOrder;->notice:Landroid/widget/TextView;

    .line 44
    iget-object v0, p0, Lframent/FramentMarketOrder;->view:Landroid/view/View;

    const v1, 0x7f0c019f

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ListView;

    iput-object v0, p0, Lframent/FramentMarketOrder;->list_one_class:Landroid/widget/ListView;

    .line 45
    iget-object v0, p0, Lframent/FramentMarketOrder;->view:Landroid/view/View;

    const v1, 0x7f0c01a2

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/GridView;

    iput-object v0, p0, Lframent/FramentMarketOrder;->grid_goods:Landroid/widget/GridView;

    .line 46
    iget-object v0, p0, Lframent/FramentMarketOrder;->view:Landroid/view/View;

    const v1, 0x7f0c01a1

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lframent/FramentMarketOrder;->ll_two_class:Landroid/widget/LinearLayout;

    .line 48
    iget-object v0, p0, Lframent/FramentMarketOrder;->view:Landroid/view/View;

    const v1, 0x7f0c0049

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lframent/FramentMarketOrder;->tv_total:Landroid/widget/TextView;

    .line 49
    iget-object v0, p0, Lframent/FramentMarketOrder;->view:Landroid/view/View;

    const v1, 0x7f0c01a4

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lframent/FramentMarketOrder;->ps_cost:Landroid/widget/TextView;

    .line 50
    iget-object v0, p0, Lframent/FramentMarketOrder;->view:Landroid/view/View;

    const v1, 0x7f0c01a5

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lframent/FramentMarketOrder;->tv_gopay:Landroid/widget/TextView;

    .line 52
    return-void
.end method


# virtual methods
.method public onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
    .locals 2
    .param p1, "inflater"    # Landroid/view/LayoutInflater;
    .param p2, "container"    # Landroid/view/ViewGroup;
    .param p3, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    .line 57
    const v0, 0x7f030046

    const/4 v1, 0x0

    invoke-virtual {p1, v0, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lframent/FramentMarketOrder;->view:Landroid/view/View;

    .line 59
    invoke-direct {p0}, Lframent/FramentMarketOrder;->initData()V

    .line 60
    invoke-direct {p0}, Lframent/FramentMarketOrder;->initView()V

    .line 61
    invoke-direct {p0}, Lframent/FramentMarketOrder;->getHttpResource()V

    .line 62
    iget-object v0, p0, Lframent/FramentMarketOrder;->view:Landroid/view/View;

    return-object v0
.end method
